package cn.com.mapper;

import cn.com.beans.UserInfo;
import org.apache.catalina.User;

import java.util.List;

public interface UserInfoMapper {

    List<UserInfo> selectByEmail(String email);

    int deleteByPrimaryKey(Integer uId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer uId);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo userInfo);

    int updateByaid(Integer aid);
}